package com.bupt.godxian.charging.entity;

import javax.persistence.Column;
import java.math.BigDecimal;

public class Bill {
    @Column(name = "order_id", length = 20)
    private String bill_id;

    @Column(name = "request_submit_time")
    private BigDecimal create_time;

    @Column(name = "charged_amount")
    private Double charged_amount;

    @Column(name = "charged_time")
    private Double charged_time;

    @Column(name = "begin_time", length = 20)
    private String begin_time;

    public Bill(String billId, BigDecimal createTime, Double chargedAmount, Double chargedTime, String beginTime) {
        this.bill_id = billId;
        this.create_time = createTime;
        this.charged_amount = chargedAmount;
        this.charged_time = chargedTime;
        this.begin_time = beginTime;
    }


    public String getBillId() {
        return bill_id;
    }

    public void setBillId(String billId) {
        this.bill_id = billId;
    }

    public BigDecimal getCreateTime() {
        return create_time;
    }

    public void setRequestSubmitTime(BigDecimal requestSubmitTime) {
        this.create_time = requestSubmitTime;
    }

    public Double getChargedAmount() {
        return charged_amount;
    }

    public void setChargedAmount(Double chargedAmount) {
        this.charged_amount = chargedAmount;
    }

    public Double getChargedTime() {
        return charged_time;
    }

    public void setChargedTime(Double chargedTime) {
        this.charged_time = chargedTime;
    }

    public String getBeginTime() {
        return begin_time;
    }

    public void setBeginTime(String beginTime) {
        this.begin_time = beginTime;
    }
}
